package com.egg.basic.model.request;

import com.egg.common.core.model.controller.FeignController;
import com.egg.common.core.model.request.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author east
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = FeignController.API_PREFIX + "邮件发送")
public class EmailPost extends BaseRequest {


    @ApiModelProperty(value = "收件人")
    private List<String> tos;

    @ApiModelProperty(value = "主题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "是否为HTML内容")
    private Boolean isHtml;

}
